package com.example.dell.fastshopping.user.modle;

import android.arch.lifecycle.MutableLiveData;
import android.arch.lifecycle.ViewModel;

import com.example.dell.fastshopping.jiguang.PushMessage;
import com.example.dell.fastshopping.utils.SPDao;

import java.util.ArrayList;
import java.util.List;

public class MessageActivityModle extends ViewModel {
    public List<PushMessage> getList() {
        List<PushMessage> pushMessage = SPDao.getPushMessage();
        return pushMessage;
    }

    public void clearNum() {
        SPDao.clearMessageNum();
    }
}
